package com.xiyuan.smartutils.client.ws.core.auth;

/**
 * The Class Challenge.
 *
 * @author xiyuan-lgz
 */
public class Challenge {
    
    /** The scheme. */
    private AuthScheme scheme;

    /** The method. */
    private String method;
    
    /** The request uri. */
    private String requestUri;
    
    /** The param */
    private String param;

    /** param
    private String param;

    /**
     * Instantiates a new challenge.
     *
     * @param method the method
     * @param requestUri the request uri
     * @param scheme the scheme
     * @param param the param
     */
    public Challenge(String method, String requestUri, AuthScheme scheme, String param){
        this.method = method;
        this.requestUri = requestUri;
        this.scheme = scheme;
        this.param = param;
    }
    
    /**
     * Gets the scheme.
     *
     * @return the scheme
     */
    public AuthScheme getScheme(){
        return this.scheme;
    }
    
    /**
     * Gets the param.
     *
     * @return the param
     */
    public String getParam(){
        return this.param;
    }

    /**
     * Gets the method.
     *
     * @return the method
     */
    public String getMethod() {
        return method;
    }

    /**
     * Gets the request uri.
     *
     * @return the request uri
     */
    public String getRequestUri() {
        return requestUri;
    }
}
